package com.forum.article.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author bncgnc
 * @since 2022-01-04
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class ForumArticle implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    private String articleTitle;

    private String articleDescription;

    private String articleContent;

    private String articleContentHtml;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Integer articleViews;

    private Integer articleLikes;

    private Long articleTypeId;

    private Integer articleDeleted;

}
